#for i in 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
#do
#	android create project -n testDroid -t $i -p ./testDroid$i -k test.testDroid -a testDroid >/dev/null
#	if [ $? -eq 0 ]
#	then
#		echo "------- Target $i -------";
#		grep target testDroid$i/default.properties;
#		echo
#		rm -rf testDroid$i
#	fi
#done

android list targets|grep id:|awk -s 'BEGIN {print("{")} {
	str = "\t[" $2 "] = " ;
	for(i=4;i <= NF;i++) {
		str = str " " $i
	}
	print(str ",")
}
END {
	print("}")
}'
